package com.xyhy.core.web.model.page;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import jakarta.validation.constraints.Max;
import jakarta.validation.constraints.Min;

@Setter
@Getter
@ApiModel("分页请求超类")
public class PurePageQO {
  @Min(1)
  @ApiModelProperty("当前页，默认值为 1")
  private Integer page = 1;

  @Max(9999)
  @ApiModelProperty("每页显示数量，默认值为 10")
  private Integer size = 10;

}
